import layout from '@/views/common/layout.vue'
export default [
	{
		path: '/stu',
		name: 'stu',
		component: ()=>import('@/views/stu/layout.vue'),
		meta: {
			noTransition: true
		},
		redirect: {
			name: 'stuProject'
		},
		children: [
			{
				path: '/stu/project',
				name: 'stuProject',
				meta: {
					title: '我的项目',
				},
				redirect: {
					name: 'stuProjectDevelopment'
				},
				component: () => import('@/views/stu/project/index.vue'),
				children: [
					{
						path: '/stu/project/development',
						name: 'stuProjectDevelopment',
						meta: {
							title: '开发项目',
						},
						component: () => import('@/views/stu/project/development.vue'),
					},
					{
						path: '/stu/project/learn',
						name: 'stuProjectLearn',
						meta: {
							title: '学习项目',
						},
						component: () => import('@/views/stu/project/learn.vue'),
					},
				]
			},
		]
	},
	{
		path: '/learnProcess',
		name: 'learnProcess',
		component: layout,
		meta: {
			noTransition: true
		},
		redirect: {
			name: 'learnProcessProjectDetail'
		},
		children: [
			{
				path: '/learnProcess/projectDetail',
				name: 'learnProcessProjectDetail',
				meta: {
					title: '我的项目',
				},
				component: () => import('@/views/stu/learnProcess/projectDetail.vue')
			},
			{
				path: '/learnProcess/workbenches',
				name: 'learnProcessWorkbenches',
				meta: {
					title: '工作台',
				},
				component: () => import('@/views/stu/learnProcess/workbenches.vue')
			},
			
		] 
	},
	{
		path: '/stu/task',
		name: 'stuTask',
		component: layout,
		meta: {
			noTransition: true
		},
		redirect: {
			name: 'stuTaskList'
		},
		children: [
			{
				path: '/stu/task/list',
				name: 'stuTaskList',
				meta: {
					title: '任务列表',
				},
				component: () => import('@/views/stu/task/list.vue')
			},
			
		] 
	},
]
